from sys import path
path.append('../')
import pygame
import sys
import mapManager

class MultiRogue:
  def __init__(self):
    self.clock = pygame.time.Clock()
    self.screen = pygame.display.get_surface()
    self.mapManager = mapManager.MapManager(self.screen, 20, 20)
    
    while 1:
      self.clock.tick(30)
      for event in pygame.event.get():
        if event.type == pygame.QUIT:
          sys.exit()
      
      self.mapManager.draw()
      pygame.display.flip()

if __name__ == '__main__':
  pygame.init()
  pygame.display.set_mode((800, 600))
  pygame.display.set_caption('MultiRogue')
  MultiRogue()